You can create submenus
to organize and group similar commands together. Submenus are created
in much the same way that you create a menu.
The following table describes the non-alphanumeric
characters that can be used to control the display and behavior
of the caption for a submenu. Non-alphanumeric characters not listed
are reserved for future use as special menu characters.
Special characters for submenus
|
Character
|
Description
|
Example
|
$(
|
Enables the pull-down or shortcut command label
to evaluate a DIESEL string macro if $( are
the first characters.
|
$(if,$(and,$(getvar,CleanScreenState),1),!.)Clean
S&creen
|
~
|
Makes a command unavailable.
|
~Plot Style
|
!.
|
Marks a command with a check mark or if an icon
is displayed for the menu item it appears sunken.
|
!.Layer...
|
&
|
Placed directly before a character, specifies
the character as the menu access key in a pull-down or shortcut menu
label.
|
S&le displays
Sample (with the letter a underlined).
|
\t
|
Pushes all label text entered after these characters
to the right side of the menu.
|
Help\tF1 displays Help on the left side of the
pull-down menu and F1 on the right side.
|
To create a submenu
-
- In the Customize User Interface Editor,
Customize tab, in the Customizations In <file name> pane,
click the plus sign (+) next to Menus. Select the menu you want
to add a submenu to.
- Right-click the menu. Click New Sub-menu.
The new submenu (named
Menu1) is placed at the bottom of the Menu you selected to add the
submenu to.
- Do one of the following:
- Enter a new name over the default name
Menu1.
- Right-click Menu1. Click Rename. Enter
a new submenu name.
- Click Menu1, wait, and click again over
the menu’s name again to edit its name in-place.
- In the Properties pane, do the following:
- In the Description box, optionally enter
a description for the submenu.
- In the Command List pane, drag the command
you want to add to a location just below the name of the submenu
in the Customizations In <file name> pane.
- Continue adding commands until the new
submenu is complete.
- Click Apply.
CommandsCUI
Manages the customized
user interface elements in the product.